package com.fivefu.core.hik.dto.response;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

public class ResponsePage {

    @ApiModelProperty(value = "查询数据记录总数")
    private Integer total;

    @ApiModelProperty(value = "当前页码")
    private Integer pageNo;

    @ApiModelProperty(value = "每页记录总数")
    private Integer pageSize;

    @ApiModelProperty(value = "对象列表")
    private List<Object> list;

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public List<Object> getList() {
        return list;
    }

    public void setList(List<Object> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "returnInfo{" +
                "total=" + total +
                ", pageNo=" + pageNo +
                ", pageSize=" + pageSize +
                ", list=" + list +
                '}';
    }
}
